public class User {

    private int userId;

    private String userName;

    private boolean isVIP;

    public User(int userId,String userName,boolean isVIP) {
        this.userId = userId;
        this.userName = userName;
        this.isVIP = isVIP;
    }



    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public boolean isVIP() {
        return isVIP;
    }

    public void setVIP(boolean VIP) {
        isVIP = VIP;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", isVIP=" + isVIP +
                '}';
    }
}
